#if !defined(AFX_MYLIST_H__B8EC53D3_76D2_4F4F_A172_6D984E426215__INCLUDED_)
#define AFX_MYLIST_H__B8EC53D3_76D2_4F4F_A172_6D984E426215__INCLUDED_
#define IDC_MY_LIST_EDITBOX 0xffff
#define MLSM_ITEMCHANGED (WM_USER +200)
#define EDIT_ITEMCHANGED (WM_USER +201)

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyList.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMyList window

class CMyList : public CListCtrl
{
// Construction
public:
	CMyList();
	
// Attributes
public:
	void EndEdit(bool bSuccess);
// Operations
public:
	WPARAM m_nCurrentRow;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyList)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyList();

	// Generated message map functions
protected:
	int m_Col;
	int m_Row;
	CEdit m_Edititem;
	//{{AFX_MSG(CMyList)
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnChangeEdit();
	afx_msg void OnEditKillFocus();
	

	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MYLIST_H__B8EC53D3_76D2_4F4F_A172_6D984E426215__INCLUDED_)
